Home
last modified time | relevance | path

Searched hist:"08 ba91ee6e2c1c08d3f0648f978cbb5dbf3491d8" (Results 1 – 2 of 2) sorted by path

/linux/drivers/block/
H A Dnbd.cdiff 08ba91ee6e2c1c08d3f0648f978cbb5dbf3491d8 Fri Jun 15 23:05:32 CEST 2018 Doron Roberts-Kedes <doronrk@fb.com> nbd: Add the nbd NBD_DISCONNECT_ON_CLOSE config flag.

If NBD_DISCONNECT_ON_CLOSE is set on a device, then the driver will
issue a disconnect from nbd_release if the device has no remaining
bdev->bd_openers.

Fix ret val so reconfigure with only setting the flag succeeds.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Doron Roberts-Kedes <doronrk@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/linux/include/uapi/linux/
H A Dnbd.hdiff 08ba91ee6e2c1c08d3f0648f978cbb5dbf3491d8 Fri Jun 15 23:05:32 CEST 2018 Doron Roberts-Kedes <doronrk@fb.com> nbd: Add the nbd NBD_DISCONNECT_ON_CLOSE config flag.

If NBD_DISCONNECT_ON_CLOSE is set on a device, then the driver will
issue a disconnect from nbd_release if the device has no remaining
bdev->bd_openers.

Fix ret val so reconfigure with only setting the flag succeeds.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Doron Roberts-Kedes <doronrk@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>